package com.bodu.common;

/**
 * @author gaoya
 */
public enum StateEnum {
    /**
     * 成功
     */
    SUCCESS("0", "查询成功！"),
    /**
     * 失败
     */
    FAIL("1", "查询失败！");


    StateEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    private String code;
    private String msg;
}
